<h1>Listing requests_complaints_requests</h1>
<% if flash[:notice] %>
    <div id="notice"><%= flash[:notice] %></div>
<% end %>
<table>
  <tr>
    <th>Name</th>
    <th>Lastname</th>
    <th>Email</th>
    <th>Phone</th>
    <th>Briefdescription</th>
    <th>Longdescription</th>
    <th>Photo</th>
    <th>Requestdate</th>
    <th>State</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @requests_complaints_requests.each do |requests_complaints_request| %>
  <tr>
    <td><%= requests_complaints_request.name %></td>
    <td><%= requests_complaints_request.lastname %></td>
    <td><%= requests_complaints_request.email %></td>
    <td><%= requests_complaints_request.phone %></td>
    <td><%= requests_complaints_request.briefDescription %></td>
    <td><%= requests_complaints_request.longDescription %></td>
    <td><%= requests_complaints_request.photo %></td>
    <td><%= requests_complaints_request.requestDate %></td>
    <td><%= requests_complaints_request.state %></td>
    <td><%= link_to 'Show', requests_complaints_request %></td>
    <td><%= link_to 'Edit', edit_requests_complaints_request_path(requests_complaints_request) %></td>
    <td><%= link_to 'Destroy', requests_complaints_request, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Request', new_requests_complaints_request_path %>
